package com.ktjy.service;

import com.ktjy.mapper.SysRoleMapper;
import com.ktjy.mapper.SysUserMapper;
import com.ktjy.pojo.SysRole;
import com.ktjy.pojo.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SysRoleServiceImp implements SysRoleService {

    @Autowired
    SysRoleMapper sysRoleMapper;

    public void setSysRoleMapper(SysRoleMapper sysRoleMapper) {
        this.sysRoleMapper = sysRoleMapper;
    }

    @Override
    public List<SysRole> getSysRoleListBiz(SysRole sysRole) {
        return sysRoleMapper.getSysRoleList(sysRole);
    }
}
